/*******************************************************************************
 * Copyright (c) 2011 LegSem.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v3.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/gpl-3.0.txt
 * 
 * Contributors:
 *     LegSem - initial API and implementation
 ******************************************************************************/
package com.legsem.legstar.jca.socket;

import com.legsem.legstar.cci.LegStarConnection;
import com.legsem.legstar.cci.socket.LegStarSocketConnectionImpl;
import com.legsem.legstar.jca.LegStarManagedConnection;
import com.legsem.legstar.jca.LegStarManagedConnectionImpl;
import com.legstar.messaging.HostEndpoint;

public class LegStarSocketManagedConnectionImpl extends
        LegStarManagedConnectionImpl {

    public LegStarSocketManagedConnectionImpl(
            com.legstar.messaging.LegStarConnection hostConnection,
            HostEndpoint hostEndpoint) {
        super(hostConnection, hostEndpoint);
    }

    public LegStarConnection createConnection(
            LegStarManagedConnection managedConnection) {
        return new LegStarSocketConnectionImpl(this);
    }

}
